import request from "@/utils/request";

// 获取用户一周内的新增数量
export const dataUserWeekCountService = (params) => {
  return request.get("/echarts/userStatistics", { params });
};

// 获得用户总量
export const dataUserTotalCountService = () => {
  return request.get("/echarts/get/user/count");
};

// 获得共享总量
export const dataShareTotalCountService = () => {
  return request.get("/echarts/get/share/count");
};

// 获得点赞总量
export const dataLikeTotalCountService = () => {
  return request.get("/echarts/get/like/count");
};

// 获得评论总量
export const dataCommentTotalCountService = () => {
  return request.get("/echarts/get/comment/count");
};
